home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 3.3 KB | 128 lines | [TEXT/MPS ] |
- ;
- ; File: ConnectionTools.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__CONNECTIONTOOLS__') = 'UNDEFINED' THEN
- __CONNECTIONTOOLS__ SET 1
-
-
- IF &TYPE('__WINDOWS__') = 'UNDEFINED' THEN
- include 'Windows.a'
- ENDIF
- ; include 'Memory.a' ;
- ; include 'Types.a' ;
- ; include 'ConditionalMacros.a' ;
- ; include 'MixedMode.a' ;
- ; include 'Quickdraw.a' ;
- ; include 'QuickdrawText.a' ;
- ; include 'Events.a' ;
- ; include 'OSUtils.a' ;
- ; include 'Controls.a' ;
- ; include 'Menus.a' ;
-
- IF &TYPE('__DIALOGS__') = 'UNDEFINED' THEN
- include 'Dialogs.a'
- ENDIF
- ; include 'Errors.a' ;
- ; include 'TextEdit.a' ;
-
- IF &TYPE('__CONNECTIONS__') = 'UNDEFINED' THEN
- include 'Connections.a'
- ENDIF
- ; include 'CTBUtilities.a' ;
- ; include 'StandardFile.a' ;
- ; include 'Files.a' ;
- ; include 'AppleTalk.a' ;
-
- ; messages for DefProc
- cmInitMsg EQU 0
- cmDisposeMsg EQU 1
- cmSuspendMsg EQU 2
- cmResumeMsg EQU 3
- cmMenuMsg EQU 4
- cmEventMsg EQU 5
- cmActivateMsg EQU 6
- cmDeactivateMsg EQU 7
- cmIdleMsg EQU 50
- cmResetMsg EQU 51
- cmAbortMsg EQU 52
- cmReadMsg EQU 100
- cmWriteMsg EQU 101
- cmStatusMsg EQU 102
- cmListenMsg EQU 103
- cmAcceptMsg EQU 104
- cmCloseMsg EQU 105
- cmOpenMsg EQU 106
- cmBreakMsg EQU 107
- cmIOKillMsg EQU 108
- cmEnvironsMsg EQU 109
- ; new connection tool messages for ctb 1.1
- cmNewIOPBMsg EQU 110
- cmDisposeIOPBMsg EQU 111
- cmGetErrorStringMsg EQU 112
- cmPBReadMsg EQU 113
- cmPBWriteMsg EQU 114
- cmPBIOKillMsg EQU 115
- ; messages for validate DefProc
- cmValidateMsg EQU 0
- cmDefaultMsg EQU 1
- ; messages for Setup DefProc
- cmSpreflightMsg EQU 0
- cmSsetupMsg EQU 1
- cmSitemMsg EQU 2
- cmSfilterMsg EQU 3
- cmScleanupMsg EQU 4
- ; messages for scripting defProc
- cmMgetMsg EQU 0
- cmMsetMsg EQU 1
- ; messages for localization defProc
- cmL2English EQU 0
- cmL2Intl EQU 1
-
- ; private data constants
- cdefType EQU 'cdef' ; main connection definition procedure
- cvalType EQU 'cval' ; validation definition procedure
- csetType EQU 'cset' ; connection setup definition procedure
- clocType EQU 'cloc' ; connection configuration localization defProc
- cscrType EQU 'cscr' ; connection scripting defProc interfaces
- cbndType EQU 'cbnd' ; bundle type for connection
- cverType EQU 'vers'
-
- CMDataBuffer RECORD 0
- thePtr ds.l 1
- count ds.l 1
- channel ds.w 1
- flags ds.w 1
- sizeof EQU 12
- ENDR
-
- CMCompletorRecord RECORD 0
- async ds.b 1
- filler ds.b 1
- completionRoutine ds.l 1
- sizeof EQU 6
- ENDR
-
- ; Private Data Structure
- CMSetupStruct RECORD 0
- theDialog ds.l 1
- count ds.w 1
- theConfig ds.l 1
- procID ds.w 1 ; procID of the tool
- sizeof EQU 12
- ENDR
-
- ENDIF ; __CONNECTIONTOOLS__
-